package com.yanqu.road.entity.autodata.chuhan.data;


import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.autodata.AutoDataObject;

//个人战报
@FieldTypeAnnotation(tableName = "t_c_chuhan_user_report", desc = "个人战报")
public class CrossChuHanUserWarReport extends AutoDataObject {

    @FieldTypeAnnotation(desc = "活动分组ID", select = true, update = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "活动分组ID", update = true)
    private int groupId;
    @FieldTypeAnnotation(desc = "唯一编号", update = true)
    private int no;//唯一编号
    @FieldTypeAnnotation(desc = "防守的")
    private long userIdDef;//防守的
    @FieldTypeAnnotation(desc = "进攻的")
    private long userIdAct;//进攻的
    @FieldTypeAnnotation(desc = "主将ID")
    private int defPatronsId ;// 主将ID
    @FieldTypeAnnotation(desc = "主将ID")
    private int actPatronsId ;// 主将ID
    @FieldTypeAnnotation(desc = "士兵数量")
    private long defSoldierNum;// 士兵数量
    @FieldTypeAnnotation(desc = "士兵数量")
    private long actSoldierNum;// 士兵数量
    @FieldTypeAnnotation(desc = "加成")
    private int defAddition; // 加成
    @FieldTypeAnnotation(desc = "加成")
    private int actAddition; // 加成
    @FieldTypeAnnotation(desc = "获得战功")
    private long defZhanGong; // 获得战功
    @FieldTypeAnnotation(desc = "获得战功")
    private long actZhanGong; // 获得战功
    @FieldTypeAnnotation(desc = "死了多少")
    private long defDieSoldierNum;  // 死了多少
    @FieldTypeAnnotation(desc = "死了多少")
    private long actDieSoldierNum;  // 死了多少
    @FieldTypeAnnotation(desc = "谁赢了")
    private long winUserId;  // 谁赢了
    @FieldTypeAnnotation(desc = "时间")
    private long time;// 时间
    @FieldTypeAnnotation(desc = "城池ID")
    private int cityId;  // 城池ID

    public CrossChuHanUserWarReport() {
    }

    public CrossChuHanUserWarReport(int activityId, int groupId, int no) {
        this.activityId = activityId;
        this.groupId = groupId;
        this.no = no;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public int getNo() {
        return no;
    }

    public void setNo(int no) {
        this.no = no;
    }

    public long getUserIdDef() {
        return userIdDef;
    }

    public void setUserIdDef(long userIdDef) {
        this.userIdDef = userIdDef;
    }

    public long getUserIdAct() {
        return userIdAct;
    }

    public void setUserIdAct(long userIdAct) {
        this.userIdAct = userIdAct;
    }

    public int getDefPatronsId() {
        return defPatronsId;
    }

    public void setDefPatronsId(int defPatronsId) {
        this.defPatronsId = defPatronsId;
    }

    public int getActPatronsId() {
        return actPatronsId;
    }

    public void setActPatronsId(int actPatronsId) {
        this.actPatronsId = actPatronsId;
    }

    public long getDefSoldierNum() {
        return defSoldierNum;
    }

    public void setDefSoldierNum(long defSoldierNum) {
        this.defSoldierNum = defSoldierNum;
    }

    public long getActSoldierNum() {
        return actSoldierNum;
    }

    public void setActSoldierNum(long actSoldierNum) {
        this.actSoldierNum = actSoldierNum;
    }

    public long getDefZhanGong() {
        return defZhanGong;
    }

    public void setDefZhanGong(long defZhanGong) {
        this.defZhanGong = defZhanGong;
    }

    public long getActZhanGong() {
        return actZhanGong;
    }

    public void setActZhanGong(long actZhanGong) {
        this.actZhanGong = actZhanGong;
    }

    public long getDefDieSoldierNum() {
        return defDieSoldierNum;
    }

    public void setDefDieSoldierNum(long defDieSoldierNum) {
        this.defDieSoldierNum = defDieSoldierNum;
    }

    public long getActDieSoldierNum() {
        return actDieSoldierNum;
    }

    public void setActDieSoldierNum(long actDieSoldierNum) {
        this.actDieSoldierNum = actDieSoldierNum;
    }

    public long getWinUserId() {
        return winUserId;
    }

    public void setWinUserId(long winUserId) {
        this.winUserId = winUserId;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }

    public int getCityId() {
        return cityId;
    }

    public void setCityId(int cityId) {
        this.cityId = cityId;
    }

    public int getDefAddition() {
        return defAddition;
    }

    public void setDefAddition(int defAddition) {
        this.defAddition = defAddition;
    }

    public int getActAddition() {
        return actAddition;
    }

    public void setActAddition(int actAddition) {
        this.actAddition = actAddition;
    }

    public int getGroupId() {
        return groupId;
    }

    public void setGroupId(int groupId) {
        if (this.groupId != groupId) {
            this.groupId = groupId;
        }
    }

}
